//: [Previous](@previous)

import Foundation

let numbers = [1, 2, 3, 4]

let maxn = numbers.first.flatMap { (num: Int) -> Int? in
    print(num)
    return numbers.reduce(num, max)
}
